package com.example.test.主方法运行测试;

import com.sun.org.apache.xpath.internal.operations.Bool;
import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;

@Slf4j
public class Main1234 {

    public static void main(String[] args) throws Exception {

        BlockingQueue<Object> objects = new ArrayBlockingQueue<>(10);
        objects.offer(new Object());
        objects.poll();

    }
}